package com.yulian.web.handler;

import com.yulian.web.handler.impl.UserHandlerImpl;
import io.vertx.core.Handler;
import io.vertx.ext.auth.jwt.JWTAuth;
import io.vertx.ext.web.RoutingContext;
import io.vertx.pgclient.PgPool;

public interface UserHandler extends Handler<RoutingContext> {

    static UserHandler create(PgPool pool, JWTAuth jwt) {
        return new UserHandlerImpl(pool, jwt);
    }
}